/*
 * @Description:  结束
 * @Author: iamsmiling
 * @Date: 2021-06-08 22:25:12
 * @LastEditTime: 2021-06-11 23:41:28
 */
import 'package:flutter/material.dart';

class EndTail extends StatelessWidget {
  final String tip;
  const EndTail({Key? key, this.tip = ""}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        mainAxisSize: MainAxisSize.min,
        children: [
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Container(
                width: 60,
                height: 1,
                color: const Color(0xFFEEEEEE),
              ),
              Container(
                margin: EdgeInsets.symmetric(horizontal: 15),
                child: Text(
                  "END",
                  style:
                      TextStyle(color: const Color(0xFFAAAAAA), fontSize: 12),
                ),
              ),
              Container(
                width: 60,
                height: 1,
                color: const Color(0xFFEEEEEE),
              ),
            ],
          ),
          Container(
            margin: EdgeInsets.only(top: 10),
            child: Text(
              tip,
              style: TextStyle(fontSize: 13, color: const Color(0xFF555555)),
            ),
          )
        ],
      ),
    );
  }
}
